home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
dkstat.z
/
dkstat
Wrap
Text File
|
1998-10-20
|
7KB
|
198 lines
DDDDKKKKSSSSTTTTAAAATTTT((((1111)))) DDDDKKKKSSSSTTTTAAAATTTT((((1111))))
NNNNAAAAMMMMEEEE
ddddkkkkssssttttaaaatttt - report disk I/O statistics
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ddddkkkkssssttttaaaatttt [----hhhh _h_o_s_t] [----LLLL] [----ffff {rrrr|tttt|ssss}] [----rrrr] [----wwww] [----nnnn _n_d_i_s_k_s] [----cccc] [----aaaa] [----iiii
_d_e_v_s_p_e_c[,,,,_d_e_v_s_p_e_c ...]] [----xxxx _d_e_v_s_p_e_c[,,,,_d_e_v_s_p_e_c ...]] [_i_n_t_e_r_v_a_l [_r_e_p_e_a_t]]
TTTTYYYYPPPPIIIICCCCAAAALLLL UUUUSSSSAAAAGGGGEEEE
To monitor I/O rates on all disks every 5 seconds
dkstat
To continuously display a table of disks on the host "babylon", use the
following command;
dkstat -c -ft -h babylon
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ddddkkkkssssttttaaaatttt reports physical disk I/O statistics. The default report shows
the average physical I/O rate (requests per second, or IOPS) to each disk
during the sample _i_n_t_e_r_v_a_l (default 5 seconds).
The options to _d_k_s_t_a_t are as follows;
----???? Output usage information.
----hhhh _h_o_s_t
Report for the host _h_o_s_t, which must be running ppppmmmmccccdddd(1). The
default is to report for the local host.
----LLLL Report for the local host and by-pass ppppmmmmccccdddd(1). This option is
mutually exclusive with the ----hhhh option and is the default if ppppmmmmccccdddd(1)
is not running.
----cccc Invokes continuous mode, using a ccccuuuurrrrsssseeeessss(3) display. This is most
useful with the "sorted" (----ffffssss) and "table" (----fffftttt) display formats.
----ffff {rrrr|tttt|ssss}
Selects the report format as follows:
----ffffrrrr selects ``row'' format (one column per drive). The report is
sorted on drive name across the page. This is the default
display format.
----fffftttt selects ``table'' format (one line per controller). The report
is sorted on controller name down the page and by drive unit
number across the page.
For SCSI devices with non-zero Logical Unit Numbers (LUNs) all
devices for a single SCSI target address appear in a the same
row, sorted by LUN. Down the page, rows are sorted by SCSI
target within controller.
PPPPaaaaggggeeee 1111
DDDDKKKKSSSSTTTTAAAATTTT((((1111)))) DDDDKKKKSSSSTTTTAAAATTTT((((1111))))
----ffffssss selects ``sorted'' format (one drive per line). The report is
sorted for the most active drive, depending on the ----rrrr and ----wwww
flags. If neither ----rrrr or ----wwww are given, the report is sorted on
total number of I/Os (reads plus writes). The ----nnnn option
restricts the report to the _n_d_i_s_k_s most active disks (default
22). The %%%%BBBBuuuussssyyyy column in the output is the percentage of time
during the interval that the drive was active. The MMMMeeeeaaaannnnSSSSTTTT
column in the output is the average service time of all
requests which completed during the interval (in units of
milliseconds).
----rrrr Only report reads from each drive. The default is to sum reads and
writes. The ----ffffssss style report will be sorted for the drives which
perform the most read I/Os per second.
----wwww Only report writes to each drive. The ----ffffssss style report will be
sorted for the drives which perform the most write I/Os per second.
----rrrrwwww Report both reads and writes to each drive. If neither ----rrrr or ----wwww are
given, then report total I/Os (reads plus writes).
_i_n_t_e_r_v_a_l [_r_e_p_e_a_t_s]
Specifies the interval in seconds between successive reports
(default 5 seconds) and the number of intervals to report (default
is to repeat forever). All statistics are averaged over the
interval.
DDDDEEEEVVVVIIIICCCCEEEE SSSSEEEELLLLEEEECCCCTTTTIIIIOOOONNNN
The ----aaaa flag (default) causes all drives and controllers to be reported
(depending on the report format). This may be modified by the ----iiii option
to include only some drives and exclude all others, or by the ----xxxx option
to exclude some drives and include all others.
The argument to the ----iiii or ----xxxx option is a comma separated list (without
spaces before or after each comma) of device specifiers (_d_e_v_s_p_e_c). A
_d_e_v_s_p_e_c is a string of characters that might reasonably be expected to be
the prefix for the names (as report via ----IIII) of one or more devices.
Examples;
ddddkkkkssss1111dddd6666llll3333 SCSI controller 1, target 6, LUN 3.
ddddkkkkssss0000dddd1111 SCSI controller 0, target 1, all LUNs.
ddddkkkkssss4444 All drives on SCSI controller 4.
ddddkkkkssss6666,,,,ddddkkkkssss0000dddd3333 All drives on SCSI controller 6 and SCSI target 3 on SCSI
controller 0.
PPPPaaaaggggeeee 2222
DDDDKKKKSSSSTTTTAAAATTTT((((1111)))) DDDDKKKKSSSSTTTTAAAATTTT((((1111))))
SEE ALSO
ppppmmmmccccdddd(1), ssssaaaarrrr(1), ssssaaaaddddcccc(1), ggggrrrr____ttttoooopppp(1), oooossssvvvviiiieeeewwww(1) and ggggrrrr____oooossssvvvviiiieeeewwww(1).
PPPPaaaaggggeeee 3333